package com.eas.biz.service.user.interfaces;

import java.util.List;

import com.eas.biz.dao.user.dataobject.SchoolDO;
import com.eas.biz.framework.BaseQuery;
import com.eas.biz.service.user.domain.SchoolInfo;

public interface SchoolService {

    public SchoolDO selectById(long id);

    public long insert(SchoolDO school);

    public int deleteById(long id);

    public int update(SchoolDO school);

    public List<SchoolDO> selectByQuery(BaseQuery query);

    public int countByQuery(BaseQuery query);

    public SchoolInfo getSchoolInfo(long id);

    public List<SchoolInfo> getSchoolInfoList(long areaId);

}
